.class Lcom/wmr/order/PingActivity$1;
.super Landroid/os/Handler;
.source "PingActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/wmr/order/PingActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/wmr/order/PingActivity;


# direct methods
.method constructor <init>(Lcom/wmr/order/PingActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/wmr/order/PingActivity$1;->this$0:Lcom/wmr/order/PingActivity;

    .line 108
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 8
    .param p1, "msg"    # Landroid/os/Message;

    .prologue
    .line 110
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 111
    iget v5, p1, Landroid/os/Message;->arg1:I

    sparse-switch v5, :sswitch_data_0

    .line 171
    :goto_0
    :sswitch_0
    return-void

    .line 115
    :sswitch_1
    iget-object v5, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v5}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v5

    const-string v6, "nologin"

    invoke-virtual {v5, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_0

    .line 116
    iget-object v5, p0, Lcom/wmr/order/PingActivity$1;->this$0:Lcom/wmr/order/PingActivity;

    invoke-virtual {v5}, Lcom/wmr/order/PingActivity;->waitlogin()V

    goto :goto_0

    .line 118
    :cond_0
    iget-object v5, p0, Lcom/wmr/order/PingActivity$1;->this$0:Lcom/wmr/order/PingActivity;

    # getter for: Lcom/wmr/order/PingActivity;->mcontext:Landroid/content/Context;
    invoke-static {v5}, Lcom/wmr/order/PingActivity;->access$0(Lcom/wmr/order/PingActivity;)Landroid/content/Context;

    move-result-object v5

    const-string v6, "\u63d0\u793a\u4fe1\u606f"

    iget-object v7, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v7}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v7

    invoke-static {v5, v6, v7}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 122
    :sswitch_2
    iget-object v5, p0, Lcom/wmr/order/PingActivity$1;->this$0:Lcom/wmr/order/PingActivity;

    # getter for: Lcom/wmr/order/PingActivity;->mcontext:Landroid/content/Context;
    invoke-static {v5}, Lcom/wmr/order/PingActivity;->access$0(Lcom/wmr/order/PingActivity;)Landroid/content/Context;

    move-result-object v5

    const-string v6, "\u4fe1\u606f\u83b7\u53d6\u7ed3\u679c"

    const-string v7, "\u8fd4\u56de\u7ed3\u679c\u4e3a\u7a7a"

    invoke-static {v5, v6, v7}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 125
    :sswitch_3
    const-string v5, "\u83b7\u53d6\u8ba2\u5355\u6570\u636e\u7ed3\u679c"

    new-instance v6, Ljava/lang/StringBuilder;

    iget-object v7, p0, Lcom/wmr/order/PingActivity$1;->this$0:Lcom/wmr/order/PingActivity;

    # getter for: Lcom/wmr/order/PingActivity;->orderParticulars:Ljava/util/ArrayList;
    invoke-static {v7}, Lcom/wmr/order/PingActivity;->access$1(Lcom/wmr/order/PingActivity;)Ljava/util/ArrayList;

    move-result-object v7

    invoke-virtual {v7}, Ljava/util/ArrayList;->size()I

    move-result v7

    invoke-static {v7}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v7

    invoke-direct {v6, v7}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v7, "\u4e2a"

    invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    invoke-static {v5, v6}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 127
    iget-object v5, p0, Lcom/wmr/order/PingActivity$1;->this$0:Lcom/wmr/order/PingActivity;

    iget-object v6, p0, Lcom/wmr/order/PingActivity$1;->this$0:Lcom/wmr/order/PingActivity;

    # getter for: Lcom/wmr/order/PingActivity;->orderParticulars:Ljava/util/ArrayList;
    invoke-static {v6}, Lcom/wmr/order/PingActivity;->access$1(Lcom/wmr/order/PingActivity;)Ljava/util/ArrayList;

    move-result-object v6

    invoke-virtual {v6}, Ljava/util/ArrayList;->size()I

    move-result v6

    new-array v6, v6, [Landroid/widget/RatingBar;

    invoke-static {v5, v6}, Lcom/wmr/order/PingActivity;->access$2(Lcom/wmr/order/PingActivity;[Landroid/widget/RatingBar;)V

    .line 128
    iget-object v5, p0, Lcom/wmr/order/PingActivity$1;->this$0:Lcom/wmr/order/PingActivity;

    iget-object v6, p0, Lcom/wmr/order/PingActivity$1;->this$0:Lcom/wmr/order/PingActivity;

    # getter for: Lcom/wmr/order/PingActivity;->orderParticulars:Ljava/util/ArrayList;
    invoke-static {v6}, Lcom/wmr/order/PingActivity;->access$1(Lcom/wmr/order/PingActivity;)Ljava/util/ArrayList;

    move-result-object v6

    invoke-virtual {v6}, Ljava/util/ArrayList;->size()I

    move-result v6

    new-array v6, v6, [Landroid/widget/EditText;

    invoke-static {v5, v6}, Lcom/wmr/order/PingActivity;->access$3(Lcom/wmr/order/PingActivity;[Landroid/widget/EditText;)V

    .line 130
    const/4 v2, 0x0

    .local v2, "i":I
    :goto_1
    iget-object v5, p0, Lcom/wmr/order/PingActivity$1;->this$0:Lcom/wmr/order/PingActivity;

    # getter for: Lcom/wmr/order/PingActivity;->orderParticulars:Ljava/util/ArrayList;
    invoke-static {v5}, Lcom/wmr/order/PingActivity;->access$1(Lcom/wmr/order/PingActivity;)Ljava/util/ArrayList;

    move-result-object v5

    invoke-virtual {v5}, Ljava/util/ArrayList;->size()I

    move-result v5

    if-lt v2, v5, :cond_1

    .line 143
    iget-object v5, p0, Lcom/wmr/order/PingActivity$1;->this$0:Lcom/wmr/order/PingActivity;

    # getter for: Lcom/wmr/order/PingActivity;->tv_sure_recive:Landroid/widget/TextView;
    invoke-static {v5}, Lcom/wmr/order/PingActivity;->access$7(Lcom/wmr/order/PingActivity;)Landroid/widget/TextView;

    move-result-object v5

    const/4 v6, 0x0

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setVisibility(I)V

    goto/16 :goto_0

    .line 131
    :cond_1
    iget-object v5, p0, Lcom/wmr/order/PingActivity$1;->this$0:Lcom/wmr/order/PingActivity;

    # getter for: Lcom/wmr/order/PingActivity;->mcontext:Landroid/content/Context;
    invoke-static {v5}, Lcom/wmr/order/PingActivity;->access$0(Lcom/wmr/order/PingActivity;)Landroid/content/Context;

    move-result-object v5

    const v6, 0x7f030089

    const/4 v7, 0x0

    invoke-static {v5, v6, v7}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v4

    .line 134
    .local v4, "tempview":Landroid/view/View;
    iget-object v5, p0, Lcom/wmr/order/PingActivity$1;->this$0:Lcom/wmr/order/PingActivity;

    # getter for: Lcom/wmr/order/PingActivity;->Ratbar:[Landroid/widget/RatingBar;
    invoke-static {v5}, Lcom/wmr/order/PingActivity;->access$4(Lcom/wmr/order/PingActivity;)[Landroid/widget/RatingBar;

    move-result-object v6

    const v5, 0x7f0c02cd

    invoke-virtual {v4, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/RatingBar;

    aput-object v5, v6, v2

    .line 135
    iget-object v5, p0, Lcom/wmr/order/PingActivity$1;->this$0:Lcom/wmr/order/PingActivity;

    # getter for: Lcom/wmr/order/PingActivity;->orderParticulars:Ljava/util/ArrayList;
    invoke-static {v5}, Lcom/wmr/order/PingActivity;->access$1(Lcom/wmr/order/PingActivity;)Ljava/util/ArrayList;

    move-result-object v5

    invoke-virtual {v5, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lbean/OrderParticular;

    .line 136
    .local v0, "bb":Lbean/OrderParticular;
    const v5, 0x7f0c0235

    invoke-virtual {v4, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    .line 137
    .local v1, "goodsname":Landroid/widget/TextView;
    invoke-virtual {v0}, Lbean/OrderParticular;->getGoodsname()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v1, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 139
    iget-object v5, p0, Lcom/wmr/order/PingActivity$1;->this$0:Lcom/wmr/order/PingActivity;

    # getter for: Lcom/wmr/order/PingActivity;->edit:[Landroid/widget/EditText;
    invoke-static {v5}, Lcom/wmr/order/PingActivity;->access$5(Lcom/wmr/order/PingActivity;)[Landroid/widget/EditText;

    move-result-object v6

    const v5, 0x7f0c001e

    invoke-virtual {v4, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/EditText;

    aput-object v5, v6, v2

    .line 141
    iget-object v5, p0, Lcom/wmr/order/PingActivity$1;->this$0:Lcom/wmr/order/PingActivity;

    # getter for: Lcom/wmr/order/PingActivity;->pingshowlist:Landroid/widget/LinearLayout;
    invoke-static {v5}, Lcom/wmr/order/PingActivity;->access$6(Lcom/wmr/order/PingActivity;)Landroid/widget/LinearLayout;

    move-result-object v5

    invoke-virtual {v5, v4}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    .line 130
    add-int/lit8 v2, v2, 0x1

    goto :goto_1

    .line 150
    .end local v0    # "bb":Lbean/OrderParticular;
    .end local v1    # "goodsname":Landroid/widget/TextView;
    .end local v2    # "i":I
    .end local v4    # "tempview":Landroid/view/View;
    :sswitch_4
    new-instance v3, Landroid/content/Intent;

    invoke-direct {v3}, Landroid/content/Intent;-><init>()V

    .line 151
    .local v3, "intent":Landroid/content/Intent;
    iget-object v5, p0, Lcom/wmr/order/PingActivity$1;->this$0:Lcom/wmr/order/PingActivity;

    const/4 v6, 0x1

    invoke-virtual {v5, v6, v3}, Lcom/wmr/order/PingActivity;->setResult(ILandroid/content/Intent;)V

    .line 152
    iget-object v5, p0, Lcom/wmr/order/PingActivity$1;->this$0:Lcom/wmr/order/PingActivity;

    invoke-virtual {v5}, Lcom/wmr/order/PingActivity;->finish()V

    goto/16 :goto_0

    .line 155
    .end local v3    # "intent":Landroid/content/Intent;
    :sswitch_5
    iget-object v5, p0, Lcom/wmr/order/PingActivity$1;->this$0:Lcom/wmr/order/PingActivity;

    iget-object v5, v5, Lcom/wmr/order/PingActivity;->shoplayout:Landroid/widget/LinearLayout;

    invoke-virtual {v5}, Landroid/widget/LinearLayout;->removeAllViews()V

    .line 156
    iget-object v5, p0, Lcom/wmr/order/PingActivity$1;->this$0:Lcom/wmr/order/PingActivity;

    iget-object v5, v5, Lcom/wmr/order/PingActivity;->shoplayout:Landroid/widget/LinearLayout;

    iget-object v6, p0, Lcom/wmr/order/PingActivity$1;->this$0:Lcom/wmr/order/PingActivity;

    iget-object v6, v6, Lcom/wmr/order/PingActivity;->orderstatusview:Landroid/view/View;

    invoke-virtual {v5, v6}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    goto/16 :goto_0

    .line 160
    :sswitch_6
    iget-object v5, p0, Lcom/wmr/order/PingActivity$1;->this$0:Lcom/wmr/order/PingActivity;

    iget-object v5, v5, Lcom/wmr/order/PingActivity;->shoplayout:Landroid/widget/LinearLayout;

    invoke-virtual {v5}, Landroid/widget/LinearLayout;->removeAllViews()V

    .line 161
    iget-object v5, p0, Lcom/wmr/order/PingActivity$1;->this$0:Lcom/wmr/order/PingActivity;

    iget-object v5, v5, Lcom/wmr/order/PingActivity;->shoplayout:Landroid/widget/LinearLayout;

    iget-object v6, p0, Lcom/wmr/order/PingActivity$1;->this$0:Lcom/wmr/order/PingActivity;

    iget-object v6, v6, Lcom/wmr/order/PingActivity;->orderdetview:Landroid/view/View;

    invoke-virtual {v5, v6}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    goto/16 :goto_0

    .line 165
    :sswitch_7
    iget-object v5, p0, Lcom/wmr/order/PingActivity$1;->this$0:Lcom/wmr/order/PingActivity;

    # getter for: Lcom/wmr/order/PingActivity;->mcontext:Landroid/content/Context;
    invoke-static {v5}, Lcom/wmr/order/PingActivity;->access$0(Lcom/wmr/order/PingActivity;)Landroid/content/Context;

    move-result-object v5

    const-string v6, "\u5b9a\u4f4d\u4fe1\u606f"

    iget-object v7, p0, Lcom/wmr/order/PingActivity$1;->this$0:Lcom/wmr/order/PingActivity;

    iget-object v7, v7, Lcom/wmr/order/PingActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v7}, Lmyapp/MyApp;->getMapname()Ljava/lang/String;

    move-result-object v7

    invoke-static {v5, v6, v7}, Lmyapp/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0

    .line 111
    nop

    :sswitch_data_0
    .sparse-switch
        0x0 -> :sswitch_0
        0x1 -> :sswitch_1
        0x2 -> :sswitch_2
        0x3 -> :sswitch_3
        0x4 -> :sswitch_0
        0x5 -> :sswitch_4
        0xa -> :sswitch_5
        0xb -> :sswitch_6
        0x6f -> :sswitch_7
    .end sparse-switch
.end method
